package com.zr.sparesubclass.mapper;

import com.zr.sparesubclass.bean.Partner;
import com.zr.sparesubclass.bean.Spare;
import com.zr.sparesubclass.bean.SpareDetails;
import com.zr.sparesubclass.bean.SupplierDetails;
import com.zr.sparesubclass.model.AddSpareVo;
import com.zr.sparesubclass.model.InquiryListAddVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface InqueryMapper {
    int queryCount(AddSpareVo addSpareVo);

    List<Spare> queryPage(AddSpareVo addSpareVo);

    void add(InquiryListAddVo inquiryListAddVo);

    List<String> checkSpare(List<SpareDetails> list);

    List<String> checkSupplier(List<SupplierDetails> partners);

    List<SpareDetails> queryById(String id);

    void delete(String requestForQuotationId);
}
